package com.baitu.websokettest.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

//用户发送消息
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Message {
    private Integer id;
    private Integer toId;
    private Integer fromId;
    private boolean isSystem;
    private String message;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
}
